﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Serie_Counter.Presentatie
{
    //klasse die helpt bij het beheren van de usercontrols
    internal class UserControls
    {

        private List<UserControl> controls;

        public List<UserControl> Controls
        {
            get
            {
                return controls;
            }
        }

        public UserControls()
        {
            controls = new List<UserControl>();
        }

        public void RemoveControl(int index) 
        {
            controls.RemoveAt(index);
        }

        public void AddControl(UserControl uC)
        {
            controls.Add(uC);
        }
    }
}
